using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.IO;
using System.Threading;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Net;

namespace MWC
{
    public static class AndroidUtility
    {
        public static bool isInternetConnection(ConnectivityManager connectivityManager)
        {
            var activeConnection = connectivityManager.ActiveNetworkInfo;
            return ((activeConnection != null) && activeConnection.IsConnected);
        }
    }
}